import React from "react";

const Loader = ({message}) => {
    return (
        // frament 文档碎片 不会显示 会消失
        
        <div className="loader">
            <img src="" alt="loading..." />
            <h2>{message}</h2>
       </div>
            
        
    )
}

export default Loader;